// ProjectionPlainDialog.cpp : implementation file
//

#include "stdafx.h"
#include "CGWork.h"
#include "ProjectionPlainDialog.h"


// ProjectionPlainDialog dialog

IMPLEMENT_DYNAMIC(ProjectionPlainDialog, CDialog)

ProjectionPlainDialog::ProjectionPlainDialog(CWnd* pParent /*=NULL*/)
	: CDialog(ProjectionPlainDialog::IDD, pParent)
	, m_ProjectionPlain(0)
{

}

ProjectionPlainDialog::~ProjectionPlainDialog()
{
}

void ProjectionPlainDialog::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	DDX_Slider(pDX, IDC_SLIDER1, m_ProjectionPlain);
	DDV_MinMaxInt(pDX, m_ProjectionPlain, 1, 100);
}


BEGIN_MESSAGE_MAP(ProjectionPlainDialog, CDialog)
	ON_NOTIFY(NM_CUSTOMDRAW, IDC_SLIDER1, &ProjectionPlainDialog::OnNMCustomdrawSlider1)
END_MESSAGE_MAP()


// ProjectionPlainDialog message handlers

void ProjectionPlainDialog::OnNMCustomdrawSlider1(NMHDR *pNMHDR, LRESULT *pResult)
{
	LPNMCUSTOMDRAW pNMCD = reinterpret_cast<LPNMCUSTOMDRAW>(pNMHDR);
	// TODO: Add your control notification handler code here
	*pResult = 0;
}
